package io.renren.modules.live.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.live.entity.FanweStationMessageEntity;
import io.renren.modules.live.vo.FanweStationMessageVo;

import java.util.Map;

/**
 * 系统消息
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-11-17 09:18:22
 */
public interface FanweStationMessageService extends IService<FanweStationMessageEntity> {

    PageUtils queryPage(Map<String, Object> params);
    /**
     * 管理员查看系统消息列表
     * @param fanweStationMessageVo
     * @return
     */
    Map<String,Object> selectStationMessageList(FanweStationMessageVo fanweStationMessageVo) throws Exception;


    /**
     * 管理员查看系统消息
     * @param id
     * @return
     */
    FanweStationMessageEntity selectStationMessage(String id)throws Exception;

    /**
     * 管理员添加或修改系统消息
     * @param fanweStationMessageEntity
     * @return
     */
    Integer insertAndupdateStationMessage(FanweStationMessageEntity fanweStationMessageEntity)throws Exception;


    /**
     * 管理员删除系统消息
     * @param id
     * @return
     */
    Integer  deleteStationMessage(String id)throws Exception;
}

